package cn.cs.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface AgentUserMapper {
    Map<String,Object> getAgentUserByPhone(String phone);

    Map<String,Object> getAgentUserByInviCode(String parent_invitation_code);

    List<Map<String,Object>> getAearningByBCode(Map<String, Object> param);

    List<Map<String,Object>> getAgentAreasByAgentUserId(String id);

    int checkIdCardNum(String idCard);

    int updateAgent(Map<String, Object> user);

    List<Map<String,Object>> getAgentLevelPays(String id);

    List<Map<String,Object>> getSetOrderList(String id);

    List<Map<String,Object>> getAgentUsersByParentInviCode(String parent_invitation_code);

    int getAgentPayByOutNum(String outNum);

    int insertAgentPay(Map<String, Object> param);
}
